package com.ruoyi.project.system.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.math.BigDecimal;

/**
 * 产品对象 sm_product
 */
public class SmProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品ID */
    private Integer id;

    /** 产品类型 */
    private String type;

    /** 产品名称 */
    private String name;

    /** 产品介绍 */
    private String introduce;

    /** 产品场景 */
    private String scene;

    /** 是否首页产品 */
    private String homePage;

    /** 默认区域队长系统底价 */
    private BigDecimal regionPricing;

    /** 默认区域队长下级（团队长）底价 */
    private BigDecimal regionalTeamPricing;

    /** 默认普通账户底价 */
    private BigDecimal generalAccountPricing;

    /** 默认集体账户底价 */
    private BigDecimal groupAccountPricing;

    /** 默认推广收益 */
    private BigDecimal promotionAdd;

    /** 默认底价增加 */
    private BigDecimal basePriceAdd;

    /** 产品状态（0正常；1停用） */
    private String status;

    /** 删除标志（0存在；1删除） */
    private String delFlag;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setScene(String scene) 
    {
        this.scene = scene;
    }

    public String getScene() 
    {
        return scene;
    }
    public void setHomePage(String homePage) 
    {
        this.homePage = homePage;
    }

    public String getHomePage() 
    {
        return homePage;
    }
    public void setRegionPricing(BigDecimal regionPricing) 
    {
        this.regionPricing = regionPricing;
    }

    public BigDecimal getRegionPricing() 
    {
        return regionPricing;
    }
    public void setRegionalTeamPricing(BigDecimal regionalTeamPricing) 
    {
        this.regionalTeamPricing = regionalTeamPricing;
    }

    public BigDecimal getRegionalTeamPricing() 
    {
        return regionalTeamPricing;
    }
    public void setGeneralAccountPricing(BigDecimal generalAccountPricing) 
    {
        this.generalAccountPricing = generalAccountPricing;
    }

    public BigDecimal getGroupAccountPricing() {
        return groupAccountPricing;
    }

    public void setGroupAccountPricing(BigDecimal groupAccountPricing) {
        this.groupAccountPricing = groupAccountPricing;
    }

    public BigDecimal getGeneralAccountPricing()
    {
        return generalAccountPricing;
    }
    public void setPromotionAdd(BigDecimal promotionAdd) 
    {
        this.promotionAdd = promotionAdd;
    }

    public BigDecimal getPromotionAdd() 
    {
        return promotionAdd;
    }
    public void setBasePriceAdd(BigDecimal basePriceAdd) 
    {
        this.basePriceAdd = basePriceAdd;
    }

    public BigDecimal getBasePriceAdd() 
    {
        return basePriceAdd;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("name", getName())
            .append("introduce", getIntroduce())
            .append("scene", getScene())
            .append("homePage", getHomePage())
            .append("regionPricing", getRegionPricing())
            .append("regionalTeamPricing", getRegionalTeamPricing())
            .append("generalAccountPricing", getGeneralAccountPricing())
            .append("groupAccountPricing", getGroupAccountPricing())
            .append("promotionAdd", getPromotionAdd())
            .append("basePriceAdd", getBasePriceAdd())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
